<%@ page language="java" contentType="text/html; charset=utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>鼎嘉国际-攻略添加</title>
<%@include file="menu.jsp" %>
</head>
<body>


  <div class="layui-body">
    <!-- 内容主体区域 -->
    <div style="padding: 15px;">
    	<h3 class="title">旅游攻略添加</h3>
    <form class="layui-form" action="${base }/strategy/addstrategy.do" method="post">
				<div class="layui-form-item">
					<label class="layui-form-label">请输入标题：</label>
					<div class="layui-input-block">
						<input type="text" name="title" lay-verify="title"
							autocomplete="off" placeholder="请输入标题" class="layui-input">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">请输入概要标题：</label>
					<div class="layui-input-block">
						<input type="text" name="p1" lay-verify="title"
							autocomplete="off" placeholder="请输入概要标题" class="layui-input">
					</div>
				</div>

				<div class="layui-form-item layui-form-text">
					<label class="layui-form-label">请输入详细概要信息</label>
					<div class="layui-input-block">
						<textarea name="page1" placeholder="请输入概要信息" class="layui-textarea"></textarea>
					</div>
				</div>
				<div class="layui-upload">
					<button type="button" class="layui-btn myupload"
						style="display: block; margin: 0 auto;" id="test1"  >上传概要信息配图</button>
					<blockquote class="layui-elem-quote layui-quote-nm"
						style="margin-top: 10px;">
						预览图：
						<div class="layui-upload-list demo" id="demo1"></div>
					</blockquote>
				</div>

				<div id="pages">
						<div class="pageone">
							<!-- 分割线 -->
							<hr class="layui-bg-red">

							<div class="layui-form-item">
								<label class="layui-form-label">请输入段落标题：</label>
								<div class="layui-input-block">
									<input type="text" name="p2" lay-verify="title"
										autocomplete="off" placeholder="请输入段落标题" class="layui-input">
								</div>
							</div>

							<div class="layui-form-item layui-form-text">
								<label class="layui-form-label">请输入段落内容:</label>
								<div class="layui-input-block">
									<textarea name="page2" placeholder="请输入段落内容" class="layui-textarea"></textarea>
								</div>
							</div>
						<div class="layui-upload">
							<button type="button" class="layui-btn myupload"
								style="display: block; margin: 0 auto;" id="test2" >上传段落信息配图</button>
							<blockquote class="layui-elem-quote layui-quote-nm"
								style="margin-top: 10px;">
								预览图：
								<div class="layui-upload-list demo" id="demo2"></div>
							</blockquote>
						</div>
					</div>
						<input id="addpage" class="layui-btn layui-btn-danger"
							style="display: block; margin: 10px auto;" value="增加下一段内容" />
					</div>
					<div class="layui-input-block">
						<button class="layui-btn" lay-submit="" lay-filter="demo1">立即提交</button>
						<button type="reset" class="layui-btn layui-btn-primary">重置</button>
					</div>
				</div>
			</form>
    </div>
  </div>
  
  <div class="layui-footer">
    <!-- 底部固定区域 -->
    © layui.com - 底部固定区域
  </div>
</div>
<script src="${base}/statics/js/jquery-1.9.1.min.js"></script>
<script src="${base }/statics/js/addstrategy.js" ></script>

</body>
</html>